<template>
  <div class="home">
    <el-row>
      <el-col :span="4"><side-bar /></el-col>
      <el-col :span="20">
        <div class="content">
          <router-view />
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import SideBar from '@/components/side-bar/index.vue';
export default defineComponent({
  name: 'Home',
  components: {
    SideBar,
  },
});
</script>
<style lang="scss" scoped>
.content{
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  overflow: auto;
  padding: 20px;
}
</style>
